using System;
using System.Xml.Schema;
using System.Xml.Serialization;
using flickr.api.communication;

namespace flickr.api
{
    [Serializable]
    public class OnlineUser : FlickrObject
    {
        public OnlineUser():base(){}
        public OnlineUser(FlickrConnection connection) : base(connection){}
        
        [XmlAttribute("nsid", Form=XmlSchemaForm.Unqualified)]
        public string UserId;
    
        [XmlAttribute("username", Form=XmlSchemaForm.Unqualified)]
        public string UserName;
    
        [XmlAttribute("online", Form=XmlSchemaForm.Unqualified)]
        public OnlineStatus IsOnline;

        [XmlText()]
        public string AwayDescription;
    }
}